Fake factor using ML #34
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
hh_bbtatautau.pyto calculate the FF combined weight (ff_comb_weight) using the output from the ONNX model (two files required: ONNX model file and JSON file where feature order is written for robustness). Model file is for the one discussed in my last presentation (MoE6)weight_MLshape_Central(data:ff_comb_weight, for MC:ff_comb_weight * final_weight) along withweight_central.HistProducerFromNTuple.pyto save two hists in OS_Iso, one nominal and one ML weighted OS_AntiIso (e.g., $var$_MLshape_Central) to be used as a template during QCD estimation.HistMergerFromHists.pyproduces two sample-wise merged histograms (nominal and *_ML_shape).QCD_estimation_MLFF.pyuses nominal and _ML_shape for ML, ML+ABCD, and ABCD (based on args in CLI) methods of BG estimation.